package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.pojos.WmNewsMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xiaquanen
 * @version 1.0
 * @project heima-leadnews
 * @date 2024/7/22 14:40:42
 */
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {


    /**
     * 添加关联数据
     *
     * @param id
     * @param integers
     * @param i
     */
    void insertNewsMaterial(@Param("newsId") Integer id, @Param("integers") List<Integer> integers, @Param("type") int i);
}
